package com.jspgou.cms.manager;

import java.util.Date;

import com.jspgou.common.page.Pagination;
import com.jspgou.cms.entity.Message;

public interface MessageMng {
	public Pagination getPage(Long sendMemberId,
			Long receiverMemberId, String title, Date sendBeginTime,
			Date sendEndTime, Boolean status, Integer box, Boolean cacheable,
			int pageNo, int pageSize);

	public Message findById(Integer id);

	public Message save(Message bean);

	public Message update(Message bean);

	public Message deleteById(Integer id);

	public Message[] deleteByIds(Integer[] ids);
}